<?php /* Smarty version 2.6.18, created on 2009-05-07 07:03:05
         compiled from ua-admin/keyword_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'ua-admin/keyword_index.html', 55, false),array('modifier', 'htmlspecialchars', 'ua-admin/keyword_index.html', 57, false),array('modifier', 'urlencode', 'ua-admin/keyword_index.html', 63, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>控制台-<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<style   type="text/css"   id="internalStyle">   
#container{     
text-align:   left;
white-space:   nowrap;   
}  
</style>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</head>
<body>

<a name="top" />
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;关键词管理</div></td></tr>
</table>
<br />
<!-- 搜索 -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header"><td colspan="4"><div id="container">快速搜索
<img onClick="collapse_change('3')" id="menuimg_3" src="./images/menu_add.gif" border="0"/></div></td></tr>
<form name="searchfrm" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>
">
<tbody id="menu_3" style="display: none">
<tr>
  <td width="9%"><div align="right">关键字</div></td>
  <td width="15%"><input name="keywords" type="text" id="keywords" value="<?php echo $_POST['keywords']; ?>
"></td>
  <td width="10%">&nbsp;</td>
  <td><input name="search" type="submit" id="search" value="查    询" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
  </tr>
</tbody>
</form>
</table>

<br>
<!-- 标题 -->
<form name="listfrm" action="" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td></td>
<td>关键词</td>
<td>类型</td>
<td>发布人</td>
<td>是否有效</td>
<td>点击</td>
<td>分值</td>
<td><div style="float:right; margin-right:4px; padding-bottom:9px"><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0" style="vertical-align:middle;"/></div></td></tr>
<tbody id="menu_1" style="display: yes">
<?php $_from = $this->_tpl_vars['Lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['keyword_lists'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['keyword_lists']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['k']):
        $this->_foreach['keyword_lists']['iteration']++;
?>
<tr bgcolor="<?php echo smarty_function_cycle(array('values' => "#eeeeee,#ffffff"), $this);?>
" align="center">
<td><input type="checkbox" name="id[]" id="id_<?php echo $this->_tpl_vars['k']['KeywordId']; ?>
" value="<?php echo $this->_tpl_vars['k']['KeywordId']; ?>
" onClick="uaCheckItem(this, 'idAll')"></td>
<td><label for="id_<?php echo $this->_tpl_vars['k']['KeywordId']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['k']['KeywordTitle'])) ? $this->_run_mod_handler('htmlspecialchars', true, $_tmp) : htmlspecialchars($_tmp)); ?>
</label></td>
<td>类型</td>
<td><a href="./member.php?action=mod&id=<?php echo $this->_tpl_vars['k']['member_id']; ?>
"><?php echo $this->_tpl_vars['k']['MemberUserName']; ?>
</a></td>
<td><?php if ($this->_tpl_vars['k']['KeywordStatus'] == 1): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/action_success.gif" border="0" alt="有效"><?php else: ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/action_false.gif" border="0" alt="无效"><?php endif; ?></td>
<td><?php echo $this->_tpl_vars['k']['KeywordClicked']; ?>
</td>
<td><?php echo $this->_tpl_vars['k']['KeywordRank']; ?>
</td>
<td><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
tag.php?keyword=<?php echo ((is_array($_tmp=$this->_tpl_vars['k']['KeywordTitle'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
" target="_blank"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/preview.gif" border="0" alt="预览"></a>&nbsp;<a href="./keyword.php?action=del&id=<?php echo $this->_tpl_vars['k']['KeywordId']; ?>
"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/delete.gif" border="0" alt="删除"></a>&nbsp;<a href="./keywordship.php?action=mod&kid=<?php echo $this->_tpl_vars['k']['KeywordId']; ?>
"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/add.gif" border="0" alt="添加竞价"></a></td>
</tr>
<?php endforeach; else: ?>
<tr bgcolor="#ffffff">
<td colspan="9" align="center"><strong>目前没有任何数据</strong></td>
</tr>
<?php endif; unset($_from); ?>
</tbody>
<!-- 操作列表 -->
<tr align="center"><td class="altbg2" colspan="9">
<br />
<div id="bottom_action" class="actions">
<ul>
<li><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/arrow_left.png" border="0" alt="选中项"></li>
<li><input type="checkbox" name="idAll" id="idAll" onClick="uaCheckAll(this, 'id[]')"><label for="idAll">全选/全不选</label></li>
<li><i>选中项 : </i></li>
<li><input type="image" name="del" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/delete.gif" border="0" alt="删除" onClick="return confirmAction('确定删除吗?');" /></li>
<li><input type="image" name="status[y]" id="status_y" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/checked.gif" border="0" alt="显示" /></li>
<li><input type="image" name="status[n]" id="status_n" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/check_false.gif" border="0" alt="不显示" /></li>
</ul>
</div>
</td></tr>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="9"><?php echo $this->_tpl_vars['ByPages']; ?>
</td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="7"></td>
<td><div align="center"><a title="返回顶部" href="#top"><img id="go_top" src="./images/go_top.gif" border="0" style="vertical-align:middle;"/></a></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>